home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20000114-20000217
/
000251_news@columbia.edu _Wed Feb 16 15:10:14 2000.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Return-Path: <news@columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id PAA03167
for <kermit.misc@watsun.cc.columbia.edu>; Wed, 16 Feb 2000 15:10:14 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id MAA01339
for kermit.misc@watsun.cc.columbia.edu; Tue, 15 Feb 2000 12:42:40 -0500 (EST)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: "AMT" <amt.4243@wanadoo.fr>
Subject: automatically run commands on differents IP nodes
Date: Tue, 15 Feb 2000 18:09:28 +0100
Organization: AMT
Message-ID: <88c0s3$n3h$1@wanadoo.fr>
To: kermit.misc@columbia.edu
I have a problem with c-Kermit
i work on hp/UX 10.0 system i want to run commands on different nodes by the
same script.
in this script i have coded the command
cat /etc/hosts | while read LIGNE
do
EQUIP=`�cho $LIGNE | awk '{print $1}'
kermit -C set host $EQUIP, take filexx;
echo "aaaa"
done
echo bbbb
end
filexx contains
def unix do vax, set term byte 7
set input echo off
set input silence 1
set input timeout-action proceed
...
set exit warning off
input 2 OK
if success go to suit
end
:suit
output {ATDS\13}
...
end
if the nodes where i want to execute the command are in the good state it's
ok, it is good for all the nodes, but for example, if i can't connect the
third node of the file, it's ok for the nodes 1 and 2, and i have the
message "cant connect to $EQUIP , connection timed out" , i come back to my
script but it stop the cat and make the echo of aaaa and bbbb and stop.
thanks for your help !
i want to run comma